<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>指尖金融</title>
		<link href="../../../res/png/icon.png" rel="shortcut icon" />
		<link href="../../../css/common.css" type="text/css" rel="stylesheet">
		<link href="../../../css/base.css" type="text/css" rel="stylesheet">
		<link href="../../../res/png/icon.png" rel="shortcut icon" />
		<link href="../../../component/autocomplete/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
		<link href="financingManage.css" type="text/css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="../../../js/My97DatePicker/skin/WdatePicker.css" />
	</head>
	<body>
		<div class="wrapper">
			<!-- 顶部菜单栏 -->
			<div id="header" class="header">
			</div>
			<div class="main" id="main">
				<!-- 左侧菜单栏 -->
				<div id="leftMenu" class="left"></div>
				<div class="pages">
					<div class="page table-section none" id="receivableNoticeList">
						<p class="table-head">
							<label class="table-title">当前位置:收款单查询</label>
						</p>
						<p class="table-search">
							<label for="" class="publishTime">创建时间：</label>
							<input class="field-input Wdate FromTime" type="text" id="beginDate"  onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,maxDate:'#F{$dp.$D(\'endDate\',{d:0})}'})" /> --
							<input class="field-input Wdate ToTime" type="text" id="endDate"  onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,minDate:'#F{$dp.$D(\'beginDate\',{d:1})}'})" />

							<label class="financingCode">融资编号：</label>
							<input class="input-financingCode field-input" type="text" id="financeNumber" placeholder="请输入融资编号" />
							<label class="financingGoods">融资企业：</label>
							<input class="input-financingGoods field-input" id="enterpriseName" type="text" placeholder="请输入融资企业" />
							
							<br/>
							
							<button class="table-search-button" id="receivableNoticeSearch">查询</button>
						</p>
						<p>
							<table class="table" cellspacing="0px" cellpadding="0px">
								<tr class="table_title">
									<th>序号</th>
									<th>创建时间 | 融资编号</th>
									<th>融资客户</th>
									<th>收款人</th>
									<th>收款金额</th>
									<th>收款时间</th>
									<th> 收款方式</th>
									<th>操作人员 </th>
									<th>状态</th>
									<th>操作</th>
								</tr>
								<tbody id="receivableNoticeListBody"></tbody>
							</table>
							<div id="pagenation" class="pagerCon"></div>
							<script type="text/template" id="receivableNoticeListTpl">
									{@each datas as it}
										<tr class="tr_style table-data"  receivablesId="${it.receivablesId}">
											<td>${index*1 + 1}</td>
											<td>
												${it.createDateTime}
												<br/><span class="">${it.financeNumber}</span>
											</td>
											<td>${it.enterpriseName}</td>
											<td>
												${it.beneficiaryName}
											</td>
											<td>
												&#65509;${it.beneficiaryAmount}
											</td>
											<td>${it.beneficiaryDate}</td>
											<td>${getValueByKey(38, it.beneficiaryMethod)}</td>
											
											<td>${it.operator}</td>
											<td>${getValueByKey(42, it.receivablesState)}</td>
											<td><a href="javascript:void(0)" class="detail">详情</a>
												{@if it.receivablesState!=2}
												&nbsp;||&nbsp;<a href="javascript:void(0)" class="approve">审核</a>
												{@else}
												{@/if}
											</td>
										</tr>
									{@/each}
								</script>
						</p>
					</div>
				</div>
				
			</div>
			
			<!-- 底部 -->
			<div id="footer" class="none footer" >
				
		    </div>
			<!--删除确认框-->
			<div id="popdialog">
			</div>
			<div class="dialog none" id="confirmDialog">
				<div class="dialogTitle"></div>
				<button class="closeDiv">×</button>
				<div class="dialogContent">
				</div>
				<div class="footerBtn">
					<div class="dialogBtn dialogHandlerBtn radius_shadow">确定</div>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="../../../js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="../../../js/seajs/sea.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-text.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-css.js"></script>
		<script type="text/javascript" src="../../../js/platform/config.js"></script>
		<script type="text/javascript" src="../../../js/juicer-min.js"></script>
		<script type="text/javascript" src="../../../component/autocomplete/jquery.autocomplete.js"></script>
		
		<script src="../../../js/ajaxfileupload.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			seajs.use('./receivableNoticeList', function(receivableNoticeList) {
				receivableNoticeList.init();
			});
		</script>
	</body>
</html>